package org.thread.test02.demo04;

/**
 * @author CSY
 * @date 2025 - 03 - 07
 */
public class MainTest {
    public static void main(String[] args) {
        FileData fileData = new FileData();
        UserThread ut = new UserThread("C:\\Users\\CSY\\Desktop\\jetbrains.zip","C:\\Users\\CSY\\Desktop\\a\\copy.zip",fileData);
        ut.start();
        GuardThread gt = new GuardThread(fileData);

        //设置守护线程
        gt.setDaemon(true);
        gt.start();

    }
}
